package com.rybbaby.tss.front.tssPayRefund.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Version;

/**
 * @description 收支出流水表
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:10:44
 */
@Entity
@Table(name = "tss_pay_refund")
@DynamicUpdate(true)
@DynamicInsert(true)
public class TssPayRefund implements Serializable {
	
	private static final long serialVersionUID = 54392098723965L;
	
	/** 主键收付查询表 **/
	private String id;
	/** 亲子(缴费) **/
	private Double qzPay;
	/** 预科(缴费) **/
	private Double gdPay;
	/** 亲子(退费) **/
	private Double qzRefund;
	/** 预科(退费) **/
	private Double gdRefund;
	/** 转园(退费) **/
	private java.sql.Timestamp startTime;
	/** 学员卡(退费) **/
	private java.sql.Timestamp endTime;
	/** 合计 **/
	private Double totalPrice;
	/** 园所ID **/
	private Double totalChargeBackPrice;
	/** 园所名称 **/
	private java.sql.Timestamp createTime;
	/** 财务创建时间 **/
	private Integer version;
	
	/**
	 * 方法: 取得主键收付查询表
	 *
	 * @return java.lang.String 主键收付查询表
	 */
	@Id
	@GeneratedValue(generator = "tss_pay_refundIDGenerator" , strategy = GenerationType.AUTO)
	@GenericGenerator(name = "tss_pay_refundIDGenerator" , strategy = "uuid")
	@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键收付查询表
	 *
	 * @param id 主键收付查询表
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 方法: 取得亲子(缴费)
	 *
	 * @return java.lang.Double 亲子(缴费)
	 */
	@Column(name = "qzPay", nullable= true, length = 22)
	public Double getQzPay() {
		return this.qzPay;
	}
	
	/**
	 * 方法: 设置亲子(缴费)
	 *
	 * @param qzPay 亲子(缴费)
	 */
	public void setQzPay(Double qzPay) {
		this.qzPay = qzPay;
	}
	
	/**
	 * 方法: 取得预科(缴费)
	 *
	 * @return java.lang.Double 预科(缴费)
	 */
	@Column(name = "gdPay", nullable= true, length = 22)
	public Double getGdPay() {
		return this.gdPay;
	}
	
	/**
	 * 方法: 设置预科(缴费)
	 *
	 * @param gdPay 预科(缴费)
	 */
	public void setGdPay(Double gdPay) {
		this.gdPay = gdPay;
	}
	
	/**
	 * 方法: 取得亲子(退费)
	 *
	 * @return java.lang.Double 亲子(退费)
	 */
	@Column(name = "qzRefund", nullable= true, length = 22)
	public Double getQzRefund() {
		return this.qzRefund;
	}
	
	/**
	 * 方法: 设置亲子(退费)
	 *
	 * @param qzRefund 亲子(退费)
	 */
	public void setQzRefund(Double qzRefund) {
		this.qzRefund = qzRefund;
	}
	
	/**
	 * 方法: 取得预科(退费)
	 *
	 * @return java.lang.Double 预科(退费)
	 */
	@Column(name = "gdRefund", nullable= true, length = 22)
	public Double getGdRefund() {
		return this.gdRefund;
	}
	
	/**
	 * 方法: 设置预科(退费)
	 *
	 * @param gdRefund 预科(退费)
	 */
	public void setGdRefund(Double gdRefund) {
		this.gdRefund = gdRefund;
	}
	
	/**
	 * 方法: 取得转园(退费)
	 *
	 * @return java.sql.Timestamp 转园(退费)
	 */
	@Column(name = "startTime", nullable= true, length = 19)
	public java.sql.Timestamp getStartTime() {
		return this.startTime;
	}
	
	/**
	 * 方法: 设置转园(退费)
	 *
	 * @param startTime 转园(退费)
	 */
	public void setStartTime(java.sql.Timestamp startTime) {
		this.startTime = startTime;
	}
	
	/**
	 * 方法: 取得学员卡(退费)
	 *
	 * @return java.sql.Timestamp 学员卡(退费)
	 */
	@Column(name = "endTime", nullable= true, length = 19)
	public java.sql.Timestamp getEndTime() {
		return this.endTime;
	}
	
	/**
	 * 方法: 设置学员卡(退费)
	 *
	 * @param endTime 学员卡(退费)
	 */
	public void setEndTime(java.sql.Timestamp endTime) {
		this.endTime = endTime;
	}
	
	/**
	 * 方法: 取得合计
	 *
	 * @return java.lang.Double 合计
	 */
	@Column(name = "totalPrice", nullable= true, length = 22)
	public Double getTotalPrice() {
		return this.totalPrice;
	}
	
	/**
	 * 方法: 设置合计
	 *
	 * @param totalPrice 合计
	 */
	public void setTotalPrice(Double totalPrice) {
		this.totalPrice = totalPrice;
	}
	
	/**
	 * 方法: 取得园所ID
	 *
	 * @return java.lang.Double 园所ID
	 */
	@Column(name = "totalChargeBackPrice", nullable= true, length = 22)
	public Double getTotalChargeBackPrice() {
		return this.totalChargeBackPrice;
	}
	
	/**
	 * 方法: 设置园所ID
	 *
	 * @param totalChargeBackPrice 园所ID
	 */
	public void setTotalChargeBackPrice(Double totalChargeBackPrice) {
		this.totalChargeBackPrice = totalChargeBackPrice;
	}
	
	/**
	 * 方法: 取得园所名称
	 *
	 * @return java.sql.Timestamp 园所名称
	 */
	@Column(name = "createTime", nullable= true, length = 19)
	public java.sql.Timestamp getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * 方法: 设置园所名称
	 *
	 * @param createTime 园所名称
	 */
	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}
	
	/**
	 * 方法: 取得财务创建时间
	 *
	 * @return java.lang.Integer 财务创建时间
	 */
    @Version
	@Column(name = "version", nullable= true, length = 11)
	public Integer getVersion() {
		return this.version;
	}
	
	/**
	 * 方法: 设置财务创建时间
	 *
	 * @param version 财务创建时间
	 */
	public void setVersion(Integer version) {
		this.version = version;
	}
}